<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<html>

	<head>
		<title>All Examination</title>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/faculty.css"/>"/>
	</head>

	<body>
		<div id="container">
			<div id="content">
				<div id="pageLinks floatRight">
					<a href="<c:url value="/faculty/exams/all"> </c:url>" class="floatRight font12px">Back to exams</a>
				</div>
				<h1>New Examination</h1>
				<c:choose>
					<c:when test="${listFacultySubjects == null || listFacultySubjects	.isEmpty()}">
						There is no subject against which you can create an exam.
					</c:when>
					<c:otherwise>
						<form name="createExam" action="<c:url value="/faculty/exams/save"> </c:url>" method="post">
							<c:out value="Number of subject: ${listFacultySubjects.size()}" />
							<div id="pageLinks">
								<input type="submit" class="athenaMainButton floatRight" value="CREATE" />
								<!-- input type="reset" / -->
							</div>
						</form>
					</c:otherwise>
				</c:choose>
			</div> <!-- content DIV ends -->
		</div> <!-- container DIV ends -->
	</body>
</html>



